<?php
require_once '../../requires.php';

//$url = 'http://www.example.com/framework/Upload/example/socket/src/src.jpg';
//$path = '';
//UploadUtil::grabImage($url, $path);

$url = 'http://www.famerz.com/img/p/famerz/img/ad_980x100.jpg';
//$url = 'https://user:pwd@www.famerz.com:8080//img/p/famerz/img/ad_980x100.jpg?foo=bar#foo';
$path = '';
UploadUtil::grabImageSocket($url, $path);
?>